package com.book.controller;

import com.book.dao.noticeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller

public class loginController {
    @Autowired
    private com.book.dao.noticeDao noticeDao ;

    @RequestMapping("/adminLogin")
    public String adminLogin(){
        return "adminLogin.html";
    }

    @RequestMapping("userLogin")
    public String userLogin(){
        return "userLogin.html";
    }
}
